package com.yf.train.modules.train.dto.ext;

import com.yf.base.api.annon.Dict;
import com.yf.train.modules.train.dto.RepoTrainQuDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
* <p>
* 训练题目详情响应类
* </p>
*
* @author 聪明笨狗
* @since 2020-05-25 17:31
*/
@Data
@ApiModel(value="训练题目详情响应类", description="训练题目详情响应类")
public class TrainQuDetailDTO extends RepoTrainQuDTO {

    private static final long serialVersionUID = 1L;


    @Dict(dicCode = "qu_type")
    @ApiModelProperty(value = "题型", required=true)
    private String quType;
    private String quType_dictText;

    @ApiModelProperty(value = "题目内容", required=true)
    private String content;

    @ApiModelProperty(value = "试题解析", required=true)
    private String analysis;

    @ApiModelProperty(value = "子题列表", required=true)
    private List<TrainQuDetailDTO> subList;

    @ApiModelProperty(value = "答案内容", required=true)
    private List<TrainQaDetailDTO> answerList;



}
